﻿
@model List<www.Core.Contract.DataContract.RelaxPhotoDataContract>
@if (Model != null)
{
    foreach (var item in Model)
    {
    <div class="frame-content">
        <div class="title">
            <h3><a href="~/Home/PhotoDetail/@Session["Culture"]/@item.Id/@item.Tag">@item.Name</a></h3>
        </div>
        <div class="content">
            <table style="width: 100%; height: auto; overflow: hidden; border: 0; font-weight: bold; color: #333;">
                <tr>
                    <td>Người đăng: @item.UserName</td>
                    <td>Ngày đăng: @Convert.ToDateTime(item.Date).ToShortDateString()</td>
                    <td>Lượt xem: @(item.View * 2) </td>
                </tr>
                <tr>
                    <td colspan="3">
                        
                        <a href="https://twitter.com/share?count=data-count" class="twitter-share-button" data-url="http://relax2s.com/Home/PhotoDetail/@Session["Culture"]/@item.Id/@item.Tag" data-text="Dragon infomation" data-via="Dragon_hy"></a>
                        <script type="IN/FollowCompany" data-id="http://relax2s.com" data-counter="right"></script>
                        <script type="IN/Share" data-url="http://relax2s.com" data-counter="right"></script>
                        <div class="g-plusone" data-annotation="inline" data-width="120"></div>
                        <div class="fb-like" data-href="http://relax2s.com/@item.Id/@item.Tag" data-width="200" data-layout="button_count" data-action="like" data-show-faces="false" data-share="true"></div>
                    </td>
                </tr>
            </table>
        </div>
        <div id="fun_@item.Id" class="imagefun">
            <a href="~/Home/PhotoDetail/@Session["Culture"]/@item.Id/@item.Tag">
                <img src="/@item.Image" alt="@item.Name"/>
                @Html.Raw(HttpUtility.HtmlDecode(item.Detail))
            </a>
        </div>
    </div>
           
    }
}
